package com.example.mydesignmodule.zhongjiezhe;

/**
 * @author tgw
 * @date 2021/3/9
 * @describe
 */
class ScreenColleage extends AbColleague {


    private int screenSize;

    public ScreenColleage(AbZhongJieZhe abZhongJieZhe) {
        super(abZhongJieZhe);
    }

    public int getScreenSize() {
        return screenSize;
    }

    public void setScreenSize(int screenSize) {
        this.screenSize = screenSize;
    }

    //屏幕大小改变了
    public void load() {
        screenSize = 100;
        abZhongJieZhe.change(this);
    }
}
